using UnityEngine;
using System.Collections;

public class ammoDisplay : MonoBehaviour {
	
	private int ammo;
	// Use this for initialization
	void Start () {

	}
	
	void Update() {
		
	}

	void OnGUI() {
		guiText.text = "Ammo = "+ammo;
	}
	
	public void setAmmo(int v) {
						Debug.Log(v);
		ammo = v;	
	}
}
